Imagely\NGG\DataStorage\Manager D

Total Complexity 563
Dependencies 26
Dependents 36
Total lines 2,874
Lines of code 1,845
Logical lines of code 1,168
Comment lines 560
Methods 74
Properties 8

Methods 74

Method Rating Maintainability Complexity Lines of code
calculate_image_clone_result()
D
17
69 220
generate_image_clone()
D
24
47 146
get_image_size_params()
D
35 32 85
import_image_file()
C
31 30 101
import_gallery_from_fs()
C
35 29 78
get_computed_image_abspath()
B
38 23 69
generate_image_size()
A
40 14 60
get_image_dimensions()
A
46 14 38
copy_images()
A
44 12 42
upload_zip()
A
41 11 56
upload_image()
A
47 12 36
recover_image()
A
47 12 36
correct_exif_rotation()
A
47 11 36
get_image_html()
A
48 11 33
delete_gallery_directory()
A
49 11 29
is_image_file()
A
50 11 27
extract_zip()
A
47 10 34
get_computed_image_url()
A
46 9 35
normalize_image_size_name()
A
57 10 18
delete_image()
A
50 9 29
get_computed_gallery_abspath()
A
50 9 29
backup_image()
A
50 9 29
set_post_thumbnail()
A
52 9 25
is_zip()
A
52 9 22
get_image_sizes()
A
56 9 17
render_image()
A
51 8 26
copy_to_media_library()
S
45 6 43
get_image_url()
S
50 6 29
get_gallery_abspath()
S
66 6 7
generate_thumbnail()
S
50 4 29
update_image_dimension_metadata()
S
58 5 14
is_in_media_library()
S
56 4 20
delete_directory()
S
56 4 19
delete_gallery()
S
57 4 17
__call()
S
62 5 10
generate_resized_image()
S
61 4 14
get_gallery_id()
S
62 4 12
_get_image_id()
S
62 4 12
get_upload_abspath()
S
61 4 11
get_unique_abspath()
S
58 3 15
get_image_abspath()
S
63 4 9
calculate_image_size_dimensions()
S
60 3 13
register_custom_post_types()
S
58 2 17
sanitize_filename_for_db()
S
64 3 9
move_images()
S
66 3 9
delete_from_media_library()
S
66 3 9
maybe_base64_decode()
S
66 3 9
is_current_user_over_quota()
S
65 3 9
calculate_image_clone_dimensions()
S
61 2 13
is_animated_webp()
S
61 2 12
get_backup_abspath()
S
69 2 7
wp_query_order_by()
S
65 2 8
is_allowed_image_extension()
S
64 2 9
flush_gallery_path_cache()
S
75 2 4
get_gallery_relpath()
S
68 2 7
flush_image_path_cache()
S
69 2 6
get_instance()
S
71 2 6
get_image_checksum()
S
68 2 7
sanitize_directory_name()
S
59 1 11
upload_base64_image()
S
67 1 7
__construct()
S
71 1 6
get_backup_dimensions()
S
79 1 3
get_original_dimensions()
S
79 1 3
get_image_format_list()
S
66 1 9
get_gallery_root()
S
79 1 3
get_full_url()
S
79 1 3
get_full_dimensions()
S
79 1 3
get_full_abspath()
S
79 1 3
get_cache_abspath()
S
79 1 3
flush_cache()
S
76 1 4
add_mixin()
S
98 1 1
get_wrapped_instance()
S
82 1 3
has_method()
S
79 1 3
get_upload_relpath()
S
65 1 9